runtime.m.curg (field)

98 uses

	runtime (current package)
		cgocall.go#L303: 	if gp != gp.m.curg {
		coro.go#L209: 	setGNoWB(&mp.curg, gnext)
		debugcall.go#L34: 	if getg() != getg().m.curg {
		heapdump.go#L698: 	casGToWaiting(gp.m.curg, _Grunning, waitReasonDumpingHeap)
		heapdump.go#L713: 	casgstatus(gp.m.curg, _Gwaiting, _Grunning)
		malloc.go#L1338: 		if assistG.m.curg != nil {
		malloc.go#L1339: 			assistG = assistG.m.curg
		mbitmap.go#L1883: 	if gp := getg(); gp.m.curg.stack.lo <= uintptr(p) && uintptr(p) < gp.m.curg.stack.hi {
		mbitmap.go#L1886: 		for u.initAt(gp.m.curg.sched.pc, gp.m.curg.sched.sp, 0, gp.m.curg, 0); u.valid(); u.next() {
		mgc.go#L1018: 	curgp := mp.curg
		mgcmark.go#L217: 			userG := getg().m.curg
		mgcmark.go#L1158: 	gp := getg().m.curg
		mgcmark.go#L1288: 	gp := getg().m.curg
		mgcwork.go#L476: 		gp := getg().m.curg
		mprof.go#L548: 		if gp.m.curg == nil || gp.m.curg == gp {
		mprof.go#L551: 			nstk = gcallers(gp.m.curg, skip, mp.profStack)
		mprof.go#L554: 		if gp.m.curg == nil || gp.m.curg == gp {
		mprof.go#L565: 			mp.profStack[0] = gp.m.curg.sched.pc
		mprof.go#L566: 			nstk = 1 + fpTracebackPartialExpand(skip, unsafe.Pointer(gp.m.curg.sched.bp), mp.profStack[1:])
		panic.go#L274: 	if gp.m.curg != gp {
		panic.go#L389: 	if gp.m.curg != gp {
		panic.go#L484: 	if gp.m.curg != gp {
		panic.go#L751: 	if gp.m.curg != gp {
		panic.go#L1386: 		if gp != gp.m.curg {
		panic.go#L1429: 	if gp != mp.curg {
		preempt.go#L106: 	if mp := getg().m; mp.curg != nil && readgstatus(mp.curg) == _Grunning {
		preempt.go#L369: 	if mp.curg != gp {
		proc.go#L412: 	gp := mp.curg
		proc.go#L2001: 		gp := getg().m.curg
		proc.go#L2344: 	casgstatus(mp.curg, _Gdead, _Gsyscall)
		proc.go#L2349: 			trace.GoCreateSyscall(mp.curg)
		proc.go#L2405: 	mp.curg = gp
		proc.go#L2478: 	casgstatus(mp.curg, _Gsyscall, _Gdead)
		proc.go#L2479: 	mp.curg.preemptStop = false
		proc.go#L2506: 	mp.curg.trace.reset()
		proc.go#L3221: 	mp.curg = gp
		proc.go#L4059: 	setMNoWB(&gp.m.curg.m, nil)
		proc.go#L4060: 	setGNoWB(&gp.m.curg, nil)
		proc.go#L4847: 	gp := getg().m.curg
		proc.go#L4877: 	gp := getg().m.curg
		proc.go#L5041: 		if mp.curg != nil {
		proc.go#L5042: 			newg.labels = mp.curg.labels
		proc.go#L5453: 	if mp.ncgo > 0 && mp.curg != nil && mp.curg.syscallpc != 0 && mp.curg.syscallsp != 0 {
		proc.go#L5469: 		u.initAt(mp.curg.syscallpc, mp.curg.syscallsp, 0, mp.curg, unwindSilentErrors)
		proc.go#L5506: 		if gp != nil && gp.m != nil && gp.m.curg != nil {
		proc.go#L5507: 			tagPtr = &gp.m.curg.labels
		proc.go#L5515: 			if gp.m.curg != nil {
		proc.go#L5516: 				gprof = gp.m.curg
		proc.go#L6310: 	gp := mp.curg
		proc.go#L6388: 		if mp.curg != nil {
		proc.go#L6389: 			print(mp.curg.goid)
		runtime2.go#L565: 	curg            *g       // current running goroutine
		sema.go#L134: 	if gp != gp.m.curg {
		signal_unix.go#L689: 	if !c.sigFromUser() && flags&_SigPanic != 0 && (gp.throwsplit || gp != mp.curg) {
		signal_unix.go#L760: 		if crashing.Load() > 0 && gp != mp.curg && mp.curg != nil && readgstatus(mp.curg)&^_Gscan == _Grunning {
		signal_unix.go#L762: 			goroutineheader(mp.curg)
		signal_unix.go#L763: 			traceback(^uintptr(0), ^uintptr(0), 0, mp.curg)
		signal_unix.go#L847: 	if mp.incgo && gp == mp.g0 && mp.curg != nil {
		signal_unix.go#L851: 		gp = mp.curg
		signal_unix.go#L1205: 	if gp != nil && gp.m != nil && gp.m.curg != nil && !gp.m.isExtraInC && !gp.m.incgo {
		stack.go#L982: 	if thisg.m.morebuf.g.ptr() != thisg.m.curg {
		stack.go#L983: 		print("runtime: newstack called from g=", hex(thisg.m.morebuf.g), "\n"+"\tm=", thisg.m, " m->curg=", thisg.m.curg, " m->g0=", thisg.m.g0, " m->gsignal=", thisg.m.gsignal, "\n")
		stack.go#L989: 	gp := thisg.m.curg
		stack.go#L991: 	if thisg.m.curg.throwsplit {
		stack.go#L1201: 		if !(gp == getg().m.curg && getg() != getg().m.curg && s == _Grunning) {
		stack.go#L1212: 	if gp == getg().m.curg && gp.m.libcallsp != 0 {
		trace.go#L375: 			me := getg().m.curg
		trace.go#L793: 		getg().racectx = getg().m.curg.racectx
		traceback.go#L134: 	if ourg := getg(); ourg == gp && ourg == ourg.m.curg {
		traceback.go#L288: 		if u.flags&unwindJumpStack != 0 && gp == gp.m.g0 && gp.m.curg != nil && gp.m.curg.m == gp.m {
		traceback.go#L296: 				gp = gp.m.curg
		traceback.go#L319: 				gp = gp.m.curg
		traceback.go#L1004: 				if gp.m != nil && gp.m.throwing >= throwTypeRuntime && gp == gp.m.curg || level >= 2 {
		traceback.go#L1115: 	if mp.throwing >= throwTypeRuntime && gp != nil && (gp == mp.curg || gp == mp.caughtsig.ptr()) {
		traceback.go#L1224: 	if gp.m != nil && gp.m.throwing >= throwTypeRuntime && gp == gp.m.curg || level >= 2 {
		traceback.go#L1249: 	curgp := getg().m.curg
		traceback.go#L1629: 	if panicking.Load() > 0 || getg().m.curg != getg() {
		traceback.go#L1649: 	if panicking.Load() > 0 || getg().m.curg != getg() {
		traceevent.go#L126: 	if gp := tl.mp.curg; gp != nil && !gp.trace.statusWasTraced(tl.gen) && gp.trace.acquireStatus(tl.gen) {
		traceruntime.go#L451: 	gp := getg().m.curg
		tracestack.go#L45: 		gp = mp.curg
		tracestack.go#L59: 				if getg() == gp || mp.curg == gp {
		tracestatus.go#L93: 		if w.mp.p.ptr() == pp && w.mp.curg != nil && readgstatus(w.mp.curg)&^_Gscan == _Gsyscall {